package org.knot.autojmx.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.knot.autojmx.enums.Rights;


/**
 * JMXProperty Annotation 
 * 
 * @author <a href="mailto:yuxiaoweimail@gmail.com">yuxiaowei</a>
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface JMXProperty {
        
    String name() default "";
    
    Rights rights() default Rights.READ;
    
    boolean notification() default false;
    
    String description() default "";
    

}
